import { request } from "./request";

export function edit(params) {
  return request({
    url: '/edit',
    method: "post",
    data: params
  })
}

export function deleteOne(params) {
  return request({
    url: "/deleteOne",
    method: "delete",
    data: params
  })
}

export function deleteSome(params) {
  return request({
    url: "/deleteSome",
    method: "delete",
    data: params
  })
}
export function addgood(params) {
  return request({
    url: "/add",
    method: "post",
    data: params
  })
}